/*
package com.koala.learn.paramslearn;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

*/
/**
 * 定时任务类型
 *
 * @author yantingrui
 * @date 2021/12/8   11:17
 *//*


@Getter
@AllArgsConstructor
public enum JobEnum {
    */
/**
     * 类型状态码 和 类型描述
     *//*

    ID(1,"按ID删除"),
    DATE(2,"按时间范围删除");

    private final Integer code;
    private final String msg;

    public static JobEnum parse(int code) {
        JobEnum[] arr = values();
        for (JobEnum jobEnum : arr) {
            if (code == jobEnum.getCode()) {
                return jobEnum;
            }
        }
        return null;
    }
}
*/
